<form class="navigation" action="#" method="get">
	{if $listing->multiple_action}
	<p class="multiple_action_choice">
		For the selected lines :
		<select onchange="multiple_action($(this), $(this).parent().parent().prev())">
			<option value="nothing">Choose an action...</option>
			<option value="delete">Delete these files</option>
			<option value="valid">Valid these files</option>
		</select>
	</p>
	{/if}
	{if $listing->nbPages > 1}
	<p class="pagination">
		{if $listing->currentPage > 1}
		<span class="number_place">
			<a class="first" href="#" onclick="return !changePage(getListingName($(this)), 1);">&laquo;</a>
		</span>
		<span class="number_place">
			<a class="previous" href="#" onclick="return !changePage(getListingName($(this)), {$listing->currentPage-1});">
				&lt;
			</a>
		</span>
		{else}
		<span class="number_place">
		<span class="first">&laquo;</span>
		</span>
		<span class="number_place">
		<span class="previous">&lt;</span>
		</span>
		{/if}
		
		{section name='some_page_numbers' loop=$listing->numberOfPagesNumbersToShow}
		{assign var='page_number' value=$smarty.section.some_page_numbers.index-$listing->numberOfPagesNumbersToShow+$listing->currentPage}
		<span class="number_place">
		{if $page_number > 0}
			<a href="#" onclick="return !changePage(getListingName($(this)), {$page_number});">{$page_number}</a>
		{else}
			&nbsp;
		{/if}
		</span>
		{/section}
		
		<span class="number_place">
			<span class="selected">{$listing->currentPage}</span>
		</span>
		
		{section name='some_page_numbers' loop=$listing->numberOfPagesNumbersToShow}
		{assign var='page_number' value=$smarty.section.some_page_numbers.index+1+$listing->currentPage}
		<span class="number_place">
			{if $page_number <= $listing->nbPages}
				<a href="#" onclick="return !changePage(getListingName($(this)), {$page_number});">{$page_number}</a>
			{else}
				&nbsp;
			{/if}
		</span>
		{/section}
		
		{if $listing->currentPage != $listing->nbPages}
		<span class="number_place">
			<a href="#" class="next" onclick="return !changePage(getListingName($(this)), {$listing->currentPage+1});">
				&gt;
			</a>
		</span>
		<span class="number_place">
			<a href="#" class="last" onclick="return !changePage(getListingName($(this)), {$listing->nbPages});">
				&raquo;
			</a>
		</span>
		{else}
		<span class="number_place">
			<span class="next">&gt;</span>
		</span>
		<span class="number_place">
			<span class="last">&raquo;</span>
		</span>
		{/if}
	</p>
	{/if}
	<p class="page_parameters">
		{$listing->nbItems} items
		
		(
		<a {if $listing->itemsPerPage == 1}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 1);">1</a>
		<a {if $listing->itemsPerPage == 2}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 2);">2</a>
		<a {if $listing->itemsPerPage == 5}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 5);">5</a>
		<a {if $listing->itemsPerPage == 10}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 10);">10</a>
		<a {if $listing->itemsPerPage == 50}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 50);">50</a>
		<a {if $listing->itemsPerPage == 100}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 100);">100</a>
		<a {if $listing->itemsPerPage == 500}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 500);">500</a>
		<a {if $listing->itemsPerPage == 1000}class="selected"{/if} href="#" onclick="return changeItemsPerPage(getListingName($(this)), 1000);">1000</a>
		 items by page)
		
		(<a href="#" onclick="return changeListingType(getListingName($(this)), 'list1');">list 1</a> /
		<a href="#" onclick="return changeListingType(getListingName($(this)), 'list2');">list 2</a> /
		<a href="#" onclick="return changeListingType(getListingName($(this)), 'table');">table</a>)
	</p>
</form>
